import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import debounceUtils from '@/core/utils/debounceUtils'
import authManager from '@/core/auth/manager/authManager'
import promiseUtils from '@/core/utils/promiseUtils'
import BaseAdminService from '@/core/framework/service/BaseAdminService'
import ${model.entityResponseClassName} from '${model.entityResponseClassFullName}'
import ${model.serverApiClassName} from '${model.serverApiClassFullName}'

const adminServerApi = ${model.serverApiClassName}

class ${model.className} extends BaseAdminService<${model.idType}, ${model.entityResponseClassName}> {}

const adminService = new ${model.className}({ adminServerApi: adminServerApi })

export default adminService
